package com.jsyl.entity.flow;

import java.io.Serializable;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 定义流程节点实体
 * @author song
 *<p></p>
 */
@Entity(table = "NF_FLOW_NODE")
public class FlowNode extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = -2286882768251688742L;

	 @Id
	 @Column("ID")
	 private Integer id;
	 
	/* 节点名称*/
	 @Column("NODE_NAME")
	 private String nodeName;
	 
	 /*父节点ID*/
	 @Column("PNODE")
	 private Integer pnode;
	 
	 /*节点顺序*/
	 @Column("ORDERS")
	 private Integer orders;
	 
	 /*办理角色ID*/
	 @Column("ROLE_ID")
	 private Integer roleId;
	 
	@Override
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public Integer getPnode() {
		return pnode;
	}

	public void setPnode(Integer pnode) {
		this.pnode = pnode;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	 


}
